package com.minsf.rpc.fault.retry;

import com.minsf.rpc.model.RpcResponse;

import java.util.concurrent.Callable;

/**
 * @Description 重试策略
 * @Author minify
 * @Date 2024/3/31 20:47
 * @Project sf-rpc
 */
public interface RetryStrategy {

    RpcResponse doRetry(Callable<RpcResponse> callable) throws Exception;
}
